package com.dingding.dao.usermangerdao;

import com.dingding.bean.entity.Vehicleinfo;
import com.dingding.dao.basedao.IBaseDao;

public interface IVehicleinfoDao extends IBaseDao<Vehicleinfo>{
    
	/**
	 * @Title: saveVehicleInfo 
	 * @Description: 初始化车辆认证信息
	 * @param viid
	 * @param loginId 
	 * @author lijinchao
	 * @return void
	 * @throws
	 */
	public void saveVehicleInfo(String viid, String loginId);
	
	/**
	 * @Title: getVehicleinfo 
	 * @Description:根据用户ID获取用户车辆信息
	 * @author cheshaowei
	 * @throws
	 */
	public Vehicleinfo getVehicleinfo(String userId);
	
	/**
	 *
	 * @Title: getVehicleinfo 
	 * @Description:根据车牌获取车辆主键ID,用来判断当前车牌是否已经注册过
	 * @param lisencePlate 待注册的车牌号
	 * @author cheshaowei
	 * @throws
	 * 
	 */
	public String getUvId(String lisencePlate,String userId);
	
	/**
	 * 初始化车辆认证信息
	 */
	public void saveVehicleInfoByNum(String viid, String loginId) ;
	
}
